using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace OBUCare.Core.Models
{
    public partial class PARTS_TYPE
    {
        [DisplayName("编号")]
        [ScaffoldColumn(false)]
        public int ID { get; set; }
        [Required(ErrorMessage = "*请输入配件名称")]
        [DisplayName("配件名称")]
        public string PARTS_NAME { get; set; }

        [DisplayName("速通报价")]
        [Required(ErrorMessage = "*请输入报价")]
        public decimal PRICE { get; set; }

        [DisplayName("厂商报价")]
        [Required(ErrorMessage = "*请输入报价")]
        public decimal SUPPLIER_PRICE { get; set; }

        
        [DisplayName("是否可以发布")]
        public bool ALLOWED_ISSUE { get; set; }

        [DisplayName("备注")]
        public string REMARK { get; set; }

        [DisplayName("状态")]
        [DefaultValue("正常")]
        [Required(ErrorMessage = "*请输入状态")]
        public int STATUS { get; set; }


        [DisplayName("创建人")]
        [ScaffoldColumn(false)]
        public string CREATED_BY { get; set; }

        [DisplayName("创建时间")]
        [ScaffoldColumn(false)]
        public System.DateTime CREATED_DATE { get; set; }

        [DisplayName("修改人")]
        [ScaffoldColumn(false)]
        public string MODIFY_BY { get; set; }

        [DisplayName("修改时间")]
        [ScaffoldColumn(false)]
        public System.DateTime MODIFY_DATE { get; set; }
    }
}
